/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.Toto.question2.composition_model;

/**
 *
 * @author 210012285
 */
public class BMW{

   
    private String name;
    private int regNumber;
    private int speed;

    public int getRegNumber() {
        return regNumber;
    }

    public void setRegNumber(int regNumber) {
        this.regNumber = regNumber;
    }

    public int getSpeed() {
        return speed;
    }

    public void setSpeed(int speed) {
        this.speed = speed;
    }

       
  
    public String getName() {
        return name;
    }
   
    public void setName(String name) {
        this.name = name;
    }
    
     
    
}
